/*
 * StoreProductBO.java
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package finalintex2web;

/**
 *
 * @author Prabol Bhandari
 */
public class StoreProductBO {
    
    private boolean dirty = false;
    private boolean alreadyindb = false;
    private String spguid;
    private int qtyonhand; 
    private String shelflocation;
    private int reorderpt; 
    private int qtytoorder;
    private int qtyonorder;
    private ConceptualProductBO conceptualprod;
    private StoreBO store;
    
    
    /** Creates a new instance of StoreProductBO */
    public StoreProductBO(String id) {
        this.spguid = id;
    }

    public boolean isDirty() {
        return dirty;
    }

    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }

    public boolean isAlreadyindb() {
        return alreadyindb;
    }

    public void setAlreadyindb(boolean alreadyindb) {
        this.alreadyindb = alreadyindb;
    }

    public String getSpguid() {
        return spguid;
    }

    public int getQtyonhand() {
        return qtyonhand;
    }

    public void setQtyonhand(int qtyonhand) {
        this.qtyonhand = qtyonhand;
        this.dirty = true;
    }

    public String getShelflocation() {
        return shelflocation;
    }

    public void setShelflocation(String shelflocation) {
        this.shelflocation = shelflocation;
        this.dirty = true;
    }

    public int getReorderpt() {
        return reorderpt;
    }

    public void setReorderpt(int reorderpt) {
        this.reorderpt = reorderpt;
        this.dirty = true;
    }

    public int getQtytoorder() {
        return qtytoorder;
    }

    public void setQtytoorder(int qtytoorder) {
        this.qtytoorder = qtytoorder;
        this.dirty = true;
    }

    public int getQtyonorder() {
        return qtyonorder;
    }

    public void setQtyonorder(int qtyonorder) {
        this.qtyonorder = qtyonorder;
        this.dirty = true;
    }

    public ConceptualProductBO getConceptualprod() {
        return conceptualprod;
    }

    public void setConceptualprod(ConceptualProductBO conceptualprod) {
        this.conceptualprod = conceptualprod;
        this.dirty = true;
    }

    public StoreBO getStore() {
        return store;
    }

    public void setStore(StoreBO store) {
        this.store = store;
        this.dirty = true;
    }
    
}